;;; Go Programming Language Support
;;==============================================================


;; Install Go Mode and Set TAB Width
;;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
( when (maybe-require-package 'go-mode)
  (add-hook 'go-mode-hook (lambda ()
                            (setq-default tab-width 4))))


;; Company Support
;;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
(when (maybe-require-package 'company-go)
  (after-load 'company
    (add-hook 'go-mode-hook
              (lambda () (mx/local-push-company-backend 'company-go)))))


(provide 'mx-golang)
